package xml;

import java.util.ArrayList;

public class TagXML {
	public TagXML father = null;
	public ArrayList<TagXML> Taguri = new ArrayList<TagXML>();
	public ArrayList<Atribute> Atribute = new ArrayList<Atribute>();
	public String name = null;
	public String value = null;
	public AddAttribute atriAdder = new AddAttribute();
	public DeleteAtribute atriDeleter = new DeleteAtribute();
	public AddTag tagAdder = new AddTag();
	public DeleteTag tagDeleter = new DeleteTag();

	public TagXML() {

	}

	public TagXML(TagXML father) {
		super();
		this.father = father;
	}

	public TagXML(TagXML father, String name, String value) {
		super();
		this.father = father;
		this.name = name;
		this.value = value;
	}

	public TagXML(TagXML father, String name) {
		super();
		this.father = father;
		this.name = name;
	}

	public TagXML(String name) {
		super();
		this.name = name;
	}

	public TagXML(String name, String value) {
		super();
		this.name = name;
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public ArrayList<TagXML> getTaguri() {
		return Taguri;
	}

	public ArrayList<Atribute> getAtribute() {
		return Atribute;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void addAtribute(Atribute a) {

	}

	public void deleteAtribute(Atribute a) {
		
	}

	public void addSonAtribute(Atribute a, TagXML t) {

	}

	public void deleteSonAtribute(Atribute a, TagXML t) {

	}

	public void addTag(TagXML t) {

	}

	public void deleteTag(TagXML t) {

	}

}
